﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WomanMotion.WebApi.Infrastructure.Email
{
    /// <summary>
    /// 邮件发送配置文件读取
    /// </summary>
    public class MailConfigModel
    {
        /// <summary>
        /// 服务器地址
        /// </summary>
        public string host { get; set; }

        /// <summary>
        /// 端口
        /// </summary>
        public int port { get; set; }

        /// <summary>
        /// 是否开启ssl
        /// </summary>
        public bool useSsl { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string from_username { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string from_password { get; set; }

        /// <summary>
        /// 邮件发送人
        /// </summary>
        public string from_name { get; set; }

        /// <summary>
        /// 邮件发送地址
        /// </summary>
        public string from_address { get; set; }
    }
}